package com.hqyj.mall.xiaomimall.vo;

import com.hqyj.mall.xiaomimall.entity.Address;
import com.hqyj.mall.xiaomimall.entity.Items;
import com.hqyj.mall.xiaomimall.entity.Users;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Cart implements Serializable {

    private List<Items> goodsList;  //购物车里的商品集合

    private double totalPrice; //购物车的总金额
    private Address address; //购物车收货地址；
    private Users users;  //该订单的用户信息


}
